package com.dragon.design.pattern.creational.singleton;

/**
 * @author dragon
 * @version V1.0.0-RELEASE
 * @date 2019/5/16 9:50
 */
public enum CodeEnum {

    /**
     * 未核查
     */
    NOT_CHECKED("1", "未核查"),

    /**
     * 核查无误
     */
    CHECKED_CORRECT("2", "核查无误"),

    /**
     * 核查不匹配
     */
    CHECKED_INCOMPATIBLY("3", "核查不匹配"),
    ;

    private String code;

    private String name;

    CodeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
